gtk-demo: Speed up the build
authorMatthias Clasen <mclasen@redhat.com>
Fri, 1 Oct 2021 02:47:00 +0000 (22:47 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 1 Oct 2021 03:10:24 +0000 (23:10 -0400)
commit200a2f5c71734aaf832c065e2583af303668bc4c
tree31f74e82af2394a6049f2e21214b355268ca4eaf
parentd7e117f52b14f4571a3e6aaa5405b61e3efc6161
gtk-demo: Speed up the build

Avoid serializing the gresource blob into a C string
and running gcc over it. Instead, use ld to put it
directly into an .o file and add it to the build.

The build system machinations here were copied from
gobject/tests/meson.build, and should ideally be part
of the meson gnome module.
demos/gtk-demo/meson.build